<script type="text/javascript">
	$(document).ready(function() {
		
		$('#kode_akun').combotree({
		    url: base_url+'prosedur/get_tree_akun/',
	    });

		$('#nominal').priceFormat({
		    prefix: 'Rp. ',
    		centsLimit: 0,
		    centsSeparator: ',',
		    thousandsSeparator: '.'
		});

		$( "#nominal" ).keyup(function() {
		  	var unmask = $('#nominal').unmask();
			$( "#nominalVal" ).val(unmask);
		});
	});
</script>

<form id="form1" method="post" style="margin:10px;">
	<div class="fitem">
		<label style="width:120px">Tipe Transaksi</label>:
		<input type="radio" name="tipe" value="1" checked="checked">&nbsp;Pendapatan
		&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="radio" name="tipe" value="2" >&nbsp;Belanja
	</div>
	<div class="fitem" >
		<label style="width:120px">Tgl Transaksi</label>:
		<input class="easyui-datebox" name="tgl_transaksi" value="<?=$tgl_transaksi?>" data-options="formatter:DateFormatter, parser:DateParser" size="15" >
	</div>
	<div class="fitem" >
		<label style="width:120px">Tgl Posting</label>:
		<?=date('d/m/Y')?>
	</div>
	<div class="fitem" >
		<label style="width:120px">Kode Akun</label>:
		<input name="kode_akun" id="kode_akun">
	</div>
	<div class="fitem" >
		<label style="width:120px">Nominal</label>:
		<input id="nominal">
		<input type="hidden" name="nominal" id="nominalVal">
	</div>
	<div class="fitem" >
		<label style="width:120px">Keterangan</label>:
		<textarea name="deskripsi" cols="30" rows="3"><?=$deskripsi?></textarea>
	</div>
</form>
	

